package day0910.demo2;

/**
 * @Author:galaxy_yan
 * @Date: 2022/9/10
 * @Time: 20:40
 * @Description
 */
public abstract class Triangle extends Shape{

    private double a;
    private double b;
    private double c;

    public Triangle(double a, double b, double c) {
        this.a = a;
        this.b = b;
        this.c = c;
    }

    @Override
    void draw() {
        System.out.println("三角形△");
    }
}
